﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace SienSchoofsProject.Models
{
    public class FilmDb : DbContext
    {
        public FilmDb() : base("name=DefaultConnection") //server=production;initial catalog=fooddb; integrated security=true
        {

        }

        public DbSet<UserProfile> UserProfiles { get; set; }
        public DbSet<Film> Films { get; set; }
        public DbSet<FilmReview> Reviews { get; set; }
        public DbSet<webpages_Membership> webpages_Memberships { get; set; }
    }
}